<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2007, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css">
<title>All Instances</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</head>
<body>
<h1> All Instances </h1>
<p> Select the <strong>All Instances </strong> command [ <img src="../../../images/org.eclipse.jdt.debug.ui/elcl16/all_instances.svg" alt="All References"> ]  to open a popup containing a list of all Java object instances of the selected type that exist in the current debug target. The command has a keyboard shortcut of <em><strong>Ctrl+Shift+N</strong></em>. This command is only available if the Java virtual machine you are currently using supports instance retrieval. </p>
<p>The type to search for can be selected in several ways:</p>
<ul>
  <li>In the <a href="../../../concepts/concept-java-editor.htm"><strong>Java Editor</strong></a>, highlight or place the cursor in the name of a type or a constructor for a type.</li>
  <li>In the <a href="../../../reference/views/ref-view-outline.htm"><strong>Outline View</strong></a>, select a type or constructor.</li>
  <li>In the <a href="../expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a> or <a href="../variables/ref-variables_view.htm"><strong>Variables View</strong></a>, select a Java object variable. </li>
</ul>
<p>Once the popup has opened, you can move the list to the <a href="../expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a> by pressing <em><strong>Ctrl+Shift+I</strong></em>.</p>
<p>There is a maximum number of instances the virtual machine will return. This maximum can be changed on the  <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.debug.ui.HeapWalkingPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Heap Walking preference page"> <strong>Java &gt; Debug &gt; Heap Walking</strong></a> preference page.</p>
<p>This command applies to:</p>
<ul>
  <li><a href="../../../concepts/concept-java-editor.htm"><strong>Java Editor</strong></a></li>
  <li><a href="../../../reference/views/ref-view-outline.htm"><strong>Outline View</strong></a></li>
  <li><a href="../expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a></li>
  <li><a href="../variables/ref-variables_view.htm"><strong>Variables View</strong></a></li>
</ul>
<h3 class="related">Related references</h3>
  <a href="../../../tasks/task-evaluating_expressions.htm">Evaluating Expressions</a><br>
  <a href="../../../reference/menus/run/ref-menu-run.htm">Run Menu</a>
</body>
</html>
